<%--
  Created by IntelliJ IDEA.
  User: Андрей Шевцов
  Date: 19.01.14
  Time: 23:09
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Users list</title>
</head>
<body>
    <h1> list users here </h1>
    <h1> ${myUsersList}</h1>

    <div class="container">
            <h3>Users</h3>
            <table class="table table-bordered table-striped">
                <thead>
                <tr>
                    <th>id</th>
                    <th>Name</th>
                    <th>age</th>
                    <%--<th>&nbsp;</th>--%>
                </tr>
                </thead>
                <tbody>
                <c:forEach items="${usersArrayList}" var="MyUser">
                    <tr>
                        <td>${MyUser.id}</td>
                        <td>${MyUser.name}</td>
                        <td>${MyUser.age}</td>
                        <%--<td>--%>
                            <%--<form action="delete/${user.id}" method="post"><input type="submit" class="btn btn-danger btn-mini" value="Delete"/></form>--%>
                        <%--</td>--%>
                    </tr>
                </c:forEach>
                </tbody>
            </table>

    </div>

</body>
</html>
